]> dgit.raspbian.org Git - gnome-shell.git/commit
status/network: Use D-Bus to launch Settings panels
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 31 Jul 2020 18:40:36 +0000 (20:40 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 3 Aug 2020 16:17:40 +0000 (16:17 +0000)
commitc9708b140ce046d8df95a069f7bf55405a237ce4
tree43f7546c44257c16f39b5c25c6f7cd3889118f95
parentdd846f1ba2f3e93d5840dd48bef4eb67ba050848
status/network: Use D-Bus to launch Settings panels

For more obscure network configurations, we need to launch the
corresponding Settings panel with additional parameters, so we
cannot simply launch the .desktop file.

However we can do better than spawning a command line: Control center
exposes an application action we can use instead, so the process is
launched with the appropriate activation environment and startup
notification support.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1385
js/ui/status/network.js